/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sharepas.nf;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author yaiba
 */
public class Chat {

    List<UserImpl> listUser;

    String message;

    public Chat(){
        this.listUser = new ArrayList<UserImpl>();
    }

    public void addUser(UserImpl user){
        this.listUser.add(user);
    }

    public void deleteUser(UserImpl user){
        
    }

    public void send(String message){
        this.message = message;
        // ask update for each user
        
    }
}
